package Asuper.demo3;

public class Test {
    public static void main(String[] args){
       Worker a = new Worker("光头强", 40);
       System.out.println(a.getName());
       System.out.println(a.getAge());

       Student s = new Student("熊大",20);
       System.out.println(s.getName()+"   "+s.getAge());
    }
}
